﻿using System.Collections.ObjectModel;
using SCADA.Drive;
using SIE.SCADA.WebApi;

namespace SIE.SCADA.ZemtDemo.Machines
{
    public interface IBaseMachine
    {
        BaseProtocol BaseProtocol { get; set; }
        ObservableCollection<string> Msg { get; set; }

        void AddMsg(string msg);
        void ClearMsg();
        void Dispose();
        ValueItem ReadTag(string regName);
        void WriteFullName(string regName, params object[] @params);
        void WriteMessage(string regName, params object[] @params);
    }
}